package com.member.shop.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.member.shop.domain.SysBizCouponGrantUser;

/**
 * 优惠券发放用户Service接口
 *
 * @author lixinchen
 * @date 2024-05-08
 */
public interface ISysBizCouponGrantUserService extends IService<SysBizCouponGrantUser>
{
    /**
     * 查询优惠券发放用户
     *
     * @param id 优惠券发放用户主键
     * @return 优惠券发放用户
     */
    public SysBizCouponGrantUser selectSysBizCouponGrantUserById(Long id);

    /**
     * 查询优惠券发放用户列表
     *
     * @param queryWrapper 优惠券发放用户
     * @return 优惠券发放用户集合
     */
    public List<SysBizCouponGrantUser> selectSysBizCouponGrantUserList(LambdaQueryWrapper<SysBizCouponGrantUser> queryWrapper);

    /**
     * 新增优惠券发放用户
     *
     * @param sysBizCouponGrantUser 优惠券发放用户
     * @return 结果
     */
    public int insertSysBizCouponGrantUser(SysBizCouponGrantUser sysBizCouponGrantUser);

    /**
     * 修改优惠券发放用户
     *
     * @param sysBizCouponGrantUser 优惠券发放用户
     * @return 结果
     */
    public int updateSysBizCouponGrantUser(SysBizCouponGrantUser sysBizCouponGrantUser);

    /**
     * 批量删除优惠券发放用户
     *
     * @param ids 需要删除的优惠券发放用户主键集合
     * @return 结果
     */
    public int deleteSysBizCouponGrantUserByIds(Long[] ids);

    /**
     * 删除优惠券发放用户信息
     *
     * @param id 优惠券发放用户主键
     * @return 结果
     */
    public int deleteSysBizCouponGrantUserById(Long id);

    List<SysBizCouponGrantUser> selectSysBizCouponGrantUserList(SysBizCouponGrantUser sysBizCouponGrantUser);
}